import buildingApi from '@/config/server/api/building.js'


function preSaleRecList(info) {
  return buildingApi.advanceSaleReview.preSaleRecList.fetch(info)
}

function preSale(info) {
  return buildingApi.advanceSaleReview.preSale.fetch(info)
}

function getPreSaleRec(info) {
  return buildingApi.advanceSaleReview.getPreSaleRec.fetch(info)
}

function approvePreSale(info) {
  return buildingApi.advanceSaleReview.approvePreSale.fetch(info)
}

function saleRiskCtlList(info) {
  return buildingApi.advanceSaleReview.saleRiskCtlList.fetch(info)
}


function houseList(info) {
  return buildingApi.houseList.fetch(info)
}


function loadDownRiskCtlList(info) {
  return buildingApi.advanceSaleReview.loadDownRiskCtlList.fetch(info)
}

function getBuildingListDetail(info) {
  return buildingApi.modeling.getBuildingListDetail.fetch(info)
}

function deleteBuild(info) {
  return buildingApi.modeling.deleteBuild.fetch(info)
}

function productInfo(info) {
  return buildingApi.modeling.productInfo.fetch(info)
}

function editBuild(info) {
  return buildingApi.salesControl.editBuild.fetch(info)
}

export default {
  preSaleRecList,
  preSale,
  getPreSaleRec,
  approvePreSale,
  saleRiskCtlList,
  houseList,
  loadDownRiskCtlList,
  getBuildingListDetail,
  deleteBuild,
  productInfo,
  editBuild
}